use "$Data_generated/Canton.dta", replace

gen post26=1 if year>1926
replace post26=0 if missing(post26)

reg ext_dr32  asin_perm asin_pop if year==1926,
estimates store est_1926
reg ext_dr32  asin_perm asin_pop if year==1935,
estimates store est_1935
suest est_1926 est_1935, cluster(deppct)
test [est_1926_mean]asin_perm=[est_1935_mean]asin_perm
outreg2 using"$Results/TableA6.tex", replace ctitle(All)  stats(coef tstat) tex(frag) keep(asin_perm)

reg ext_dr32  asin_perm asin_pop Pasc nopol if year==1926,
estimates store est_1926
reg ext_dr32  asin_perm asin_pop Pasc nopol  if year==1935,
estimates store est_1935
suest est_1926 est_1935, cluster(deppct)
test [est_1926_mean]asin_perm=[est_1935_mean]asin_perm
outreg2 using"$Results/TableA6.tex", append ctitle(All)  stats(coef tstat) tex(frag) keep(asin_perm)

reg ext_dr28  asin_perm asin_pop if year==1926,
estimates store est_1926
reg ext_dr28  asin_perm asin_pop if year==1935,
estimates store est_1935
suest est_1926 est_1935, cluster(deppct)
test [est_1926_mean]asin_perm=[est_1935_mean]asin_perm
outreg2 using"$Results/TableA6.tex", append ctitle(All)  stats(coef tstat) tex(frag) keep(asin_perm)

reg ext_dr28  asin_perm asin_pop Pasc nopol if year==1926,
estimates store est_1926
reg ext_dr28  asin_perm asin_pop Pasc nopol  if year==1935,
estimates store est_1935
suest est_1926 est_1935, cluster(deppct)
test [est_1926_mean]asin_perm=[est_1935_mean]asin_perm
outreg2 using"$Results/TableA6.tex", append ctitle(All)  stats(coef tstat) tex(frag) keep(asin_perm)

